package com.shen.service;

import java.util.List;

import com.shen.dao.BaseDao;

public class BaseServiceImpl implements BaseService {
	
	protected BaseDao baseDao;
	
	/*
	 * (non-Javadoc)
	 * @see com.shen.service.BaseService#find(java.lang.String)
	 */
	public List<?> find(String hql) {
		return baseDao.find(hql);
	}
	
	/*
	 * (non-Javadoc)
	 * @see com.shen.service.BaseService#find(java.lang.String, java.lang.Object[])
	 */
	public List<?> find(String hql, Object[] params) {
		return baseDao.find(hql, params);
	}
	

	public void setBaseDao(BaseDao baseDao) {
		this.baseDao = baseDao;
	}
}
